<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
		<title>HDCMS - 后台管理中心</title>
		<script type='text/javascript' src='http://localhost/Zshop/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/Zshop/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/Zshop/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/Zshop/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/Zshop/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/Zshop';
		WEB = 'http://localhost/Zshop/index.php';
		URL = 'http://localhost/Zshop';
		HDPHP = 'http://localhost/Zshop/hdphp/hdphp';
		HDPHPDATA = 'http://localhost/Zshop/hdphp/hdphp/Data';
		HDPHPTPL = 'http://localhost/Zshop/hdphp/hdphp/Lib/Tpl';
		HDPHPEXTEND = 'http://localhost/Zshop/hdphp/hdphp/Extend';
		APP = 'http://localhost/Zshop/index.php/Admin';
		CONTROL = 'http://localhost/Zshop/index.php/Admin/Index';
		METH = 'http://localhost/Zshop/index.php/Admin/Index/index';
		GROUP = 'http://localhost/Zshop/jd';
		TPL = 'http://localhost/Zshop/jd/Zshop/Admin/Tpl';
		CONTROLTPL = 'http://localhost/Zshop/jd/Zshop/Admin/Tpl/Index';
		STATIC = 'http://localhost/Zshop/Static';
		PUBLIC = 'http://localhost/Zshop/jd/Zshop/Admin/Tpl/Public';
</script>
		<link type="text/css" rel="stylesheet" href="http://localhost/Zshop/jd/Zshop/Admin/Tpl/Index/css/css.css"/>
		<link type="text/css" rel="stylesheet" href="http://localhost/Zshop/jd/Zshop/Admin/Tpl/Index/css/quick_menu.css"/>
	</head>
	<body>
		<div class="nav">
			<!--头部左侧导航-->
			<div class="top_menu">
				<?php $hd["list"]["m"]["total"]=0;if(isset($top_menu) && !empty($top_menu)):$_id_m=0;$_index_m=0;$lastm=min(1000,count($top_menu));
$hd["list"]["m"]["first"]=true;
$hd["list"]["m"]["last"]=false;
$_total_m=ceil($lastm/1);$hd["list"]["m"]["total"]=$_total_m;
$_data_m = array_slice($top_menu,0,$lastm);
if(count($_data_m)==0):echo "";
else:
foreach($_data_m as $key=>$m):
if(($_id_m)%1==0):$_id_m++;else:$_id_m++;continue;endif;
$hd["list"]["m"]["index"]=++$_index_m;
if($_index_m>=$_total_m):$hd["list"]["m"]["last"]=true;endif;?>

					<a href="javascript:" nid="<?php echo $m['nid'];?>" onclick="get_left_menu(<?php echo $m['nid'];?>);" class="top_menu">
						<?php echo $m['title'];?>
					</a>
				<?php $hd["list"]["m"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
			</div>
			<!--头部左侧导航-->
			<!--头部右侧导航-->
			<div class="r_menu">
				<?php echo $_SESSION['rname'];?> : <?php echo $_SESSION['username'];?>
				<a href="<?php echo U('Login/out');?>" target="_self">
					[退出]
				</a>
				<span>|</span>
				<a href="javascript:hd_ajax('<?php echo U('updateAllCache');?>');">
				<a nid="999" href="javascript:;" onclick="get_content(this,999)" url="<?php echo U('Cache/index',array('begin'=>1));?>">
					更新全站缓存
				</a>
				<span>|</span>
				<a href="http://localhost/Zshop/index.php" target="_blank">
					前台首页
				</a>
				<span>|</span>
				<a href="<?php echo U('Member/Index/index');?>" target="_blank">
					会员中心
				</a>
			</div>
			<!--头部右侧导航-->
		</div>
		<!--左侧导航-->
		<div class="main">
			<!--主体左侧导航-->
			<div class="left_menu">
				<dl><dt>商品类型</dt>
				<dd>
					<a  href="<?php echo U('GoodsType/index');?>" target="content">添加类型</a>
				</dd>
				</dl>
			</div>
			<!--主体左侧导航-->
			<!--内容显示区域-->
			
			<div class="top_content">
				<iframe src="" scrolling="auto" frameborder="0"
				style="height: 100%;width: 100%;" name="content"></iframe>
			</div>
			<!--内容显示区域-->
		</div>
		
	</body>
</html>